How to sort array of objects in javascript

welcome to shbcf.ru